-- GENERATED SPELL FOR [Mana Burst] --


function spell0_14397(pUnit, Event) --@Arcane Explosion,Self--
pUnit:FullCastSpellOnTarget(22938,pUnit)
pUnit:RegisterEvent('Sorts_14397', 1000, 1)
end

function Sorts_14397(pUnit, Event)
local choix_sorts_14397 = math.random(0, 0)
if choix_sorts_14397 == 0 then
pUnit:RegisterEvent('spell0_14397', 1, 1)
end
end

function mob14397_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_14397', math.random(1500, 3000), 1)
end

function mob14397_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14397_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob14397_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(14397, 1, 'mob14397_Action')
RegisterUnitEvent(14397, 2, 'mob14397_Leave')
RegisterUnitEvent(14397, 3, 'mob14397_Kill')
RegisterUnitEvent(14397, 4, 'mob14397_Die')
